class Foo:
    def __del__(self):
        print("析构：", self)


f1 = Foo()
f2 = Foo()
del f2
print("程序结束")
